package com.eureka.pay.service;

import org.springframework.scheduling.annotation.Async;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @description: 微信支付回调服务
 * @author: lixing
 * @time: 2021/7/9 8:21
 */
public interface WeChatPayCallbackService {
    /**
     * @Description 支付成功异步回调
     * @Author lixing
     * @Date 2021/7/9 8:24
     * @Param [request]
     */
    @Async("asyncTaskExecutor")
    void notifyUrl(HttpServletRequest request, HttpServletResponse response) throws Exception;
}
